package com.wutuo.roster.api.response;

import cn.apestar.user.provider.institution.response.InstitutionResponse;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.wutuo.roster.provider.domain.Roster;
import com.wutuo.tag.api.response.TagResponse;
import com.wutuo.wtservice.api.response.ServiceEnumResponse;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RosterResponse extends Roster {

    // 标签集合
    private List<TagResponse> tag = new ArrayList();

    /**
     * 家长
     */
    public List<ParentsResponse> parent = new ArrayList();

    /**
     * 到期时间
     */
    @JsonProperty("expiration_time") public Date expirationTime = null;

    /**
     * 到期状态
     */
    @JsonProperty("expiration_state") public String expirationState;

    @JsonProperty("tg_type") public List<ServiceEnumResponse> tgTypeList = new ArrayList();

    /**
     * 机构
     */
    public InstitutionResponse institutionResponse;

    public String getExpirationState() {

        return expirationState;
    }

    public void setExpirationState(String expirationState) {

        this.expirationState = expirationState;
    }

    public Date getExpirationTime() {

        return expirationTime;
    }

    public void setExpirationTime(Date expirationTime) {

        this.expirationTime = expirationTime;
    }

    public InstitutionResponse getInstitutionResponse() {

        return institutionResponse;
    }

    public void setInstitutionResponse(InstitutionResponse institutionResponse) {

        this.institutionResponse = institutionResponse;
    }

    private String tagIds;

    private String serviceIds;

    private String parentIds;

    /**
     * 托管状态
     */
    @JsonProperty("tg_zt_name") private String tgZtName;

    public String getTgZtName() {

        return tgZtName;
    }

    public void setTgZtName(String tgZtName) {

        this.tgZtName = tgZtName;
    }

    public String getTagIds() {

        return tagIds;
    }

    public void setTagIds(String tagIds) {

        this.tagIds = tagIds;
    }

    public String getServiceIds() {

        return serviceIds;
    }

    public void setServiceIds(String serviceIds) {

        this.serviceIds = serviceIds;
    }

    public String getParentIds() {

        return parentIds;
    }

    public void setParentIds(String parentIds) {

        this.parentIds = parentIds;
    }

    public List<TagResponse> getTag() {

        return tag;
    }

    public void setTag(List<TagResponse> tag) {

        this.tag = tag;
    }

    public List<ParentsResponse> getParent() {

        return parent;
    }

    public void setParent(List<ParentsResponse> parent) {

        this.parent = parent;
    }

    public List<ServiceEnumResponse> getTgTypeList() {

        return tgTypeList;
    }

    public void setTgTypeList(List<ServiceEnumResponse> tgTypeList) {

        this.tgTypeList = tgTypeList;
    }

}
